/*
 * @Author: jqm123 2289662078@qq.com
 * @Date: 2025-08-07 09:54:05
 * @LastEditors: jqm123 2289662078@qq.com
 * @LastEditTime: 2025-08-07 09:55:37
 * @FilePath: /anxinxiu_v3/src/api/modules/store.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { post, get } from "@/utils/request";

const modules = {
  //商家列表
  getStoreList: (params) => get("/shop/getAllStoresList", params),

  //获取商家详情
  getStoreDetail: (params) => get(`/shop/getStoreInfo`, params),

  //获取商店商品分类
  getShopCategory: (params) => get("/goods/category/count", params),

  //商品推荐
  getRecommendList: (params) => get("/goods/getGoodsList", params),
};

export default modules;
